<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<c:import url="../common/meda.jsp"></c:import>

<!-- Site Properties -->
<title>分数线查询-${sysDesc}</title>
<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/semantic.min.css">
<link rel="stylesheet" type="text/css"
	href="http://${static_server }/css/common.css">

<script src="http://${static_server }/js/jquery.min.js"></script>
<script src="http://${static_server }/js/semantic.min.js"></script>
<script src="http://${static_server }/js/common.js"></script>
<script src="//${static_server }/js/title_menu.js"></script>
<script src="http://${static_server }/js/batch.js"></script>

</head>
<body class="pushable">
	<c:import url="../common/title_menu.jsp"></c:import>
	<div class="pusher">
		<div id="schoolheadsegment"
			class="ui vertical raised masthead segment">
			<div class="ui container">
				<div class="ui breadcrumb">
					<a class="section" href="http://${static_server }/"><i
						class="icon home"></i>首页</a>
					<div class="divider">/</div>
					<div class="active section">分数线</div>
				</div>
			</div>
			<!-- content container end -->
		</div>

		<div class="ui vertical masthead segment">
			<div class="ui container">

				<form class="ui batchLine form segment" method="post" action="//${dynamic_server }/batch/query.do">
					<div class="fields">
						<div class="eight wide field">
							<div class="ui left fluid action input">
								<div class="ui fluid selection dropdown">
									<input name="year" type="hidden" value="${year }"> <i
										class="dropdown icon"></i>
									<div class="default text">请选择年份</div>
									<div class="fluid menu">
										<div class="item" data-value="2016">2016</div>
										<div class="item" data-value="2015">2015</div>
										<div class="item" data-value="2014">2014</div>
										<div class="item" data-value="2013">2013</div>
									</div>
								</div>
							</div>
						</div>
						<div class="eight wide field">
						</div>
					</div>
					<div class="ui error message"></div>
					<div class="ui orange submit button">查询</div>
				</form>
				<table class="ui unstackable attached celled  table">
					<thead>
						<tr>
							<th>年份</th>
							<th>科类</th>
							<th>批次</th>
							<th>分数线</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach var="item" items="${batchs }">
						<tr>
							<td>${item.year }</td>
							<td>${item.clazz }</td>
							<td>${item.batch }</td>
							<td>${item.score }</td>
						</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
			<!-- container end -->
		</div>
		<!-- segment end -->
		<c:import url="../common/footer.jsp"></c:import>
	</div>
	<!-- pusher end -->
</body>
</html>
